package ca.usherbrooke.domus.sipnmove.useragent.controller;

import ca.usherbrooke.domus.sipnmove.useragent.UserAgent;

/**
 * New call controller
 */
public class QuitActionController implements ActionController {

	/**
	 * User agent to control
	 */
	private UserAgent userAgent;

	/**
	 * Default constructor
	 * 
	 * @param userAgent
	 */
	public QuitActionController(UserAgent userAgent) {
		this.userAgent = userAgent;
	}

	/**
	 * Do the controller action
	 */
	public void doAction()
	{
		userAgent.quit();
	}
	
}
